package com.mis.pos.entity;

import com.mis.pos.base.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Description 商品分类关联表
 * @Author yuxiang
 * @CreatedDate 2019/11/15 9:23
 */
@Data
@Entity
@Table(name = "item_type")
public class ItemTypeEntity extends BaseEntity implements Serializable {

    /**
     * 商品id
     */
    private Long itemId;
    /**
     * 分类id
     */
    private Long typeId;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public ItemTypeEntity() {
    }
}
